package org.budo.support.apache.commons.fileupload.util;

import java.io.File;

import org.apache.commons.fileupload.FileItem;

/**
 * @author lmw
 */
public class FileItemUtil {
    public static void write(FileItem fileItem, File file) {
        try {
            fileItem.write(file);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}